package top.usts.springframework.core.convert.converter;

/**
 * @description:
 *
 * 类型转换注册接口
 * @author: CJ
 * @date: 2022/2/27
 */
public interface ConverterRegistry {

    /***
     * Add a plain converter to this registry.
     * The convertible source/target type pair is derived from the Converter's parameterized types.
     * **/
    void addConverter(Converter<?, ?> converter);

    /**Add a generic converter to this registry.**/
    void addConverter(GenericConverter converter);

    /***Add a ranged converter factory to this registry.**/
    void addConverterFactory(ConverterFactory<?, ?> converterFactory);



}
